* {
    margin: 0;
    padding: 0;
}
.blog{
    /* background-color: rgb(236, 183, 183); */
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/*       blog-p      */
.blog-p{
    width: 100%;
    height: 50px;
}
.blog-p p{
    font-size: 16px;
    line-height: 50px;
    display: inline-block;
    color: #2ea593;
}
.blog-p input{
    width: 190px;
    height: 26px;
    padding-left: 5px;
    outline: none;
    border: 1px solid #2ea593;
}
.blog-p input:last-child{
    width: 50px;
    padding: 0;
    border: none;
    margin-left: 5px;
    border-radius: 5px;
    background-color: #2eccb48a;
}
.blog-p input:last-child:hover{
    color: #fff;
    background-color: rgb(204, 159, 255);
}




/* 标题栏 blog-title */
.blog-title{
    /* background-color: rgb(206, 206, 206); */
    width: 100%;
}
.blog-title ul{
    list-style-type: none;
    margin-bottom: 10px;
    height: 40px;
    background-color: rgba(80, 223, 196, 0.884);
    border-radius: 0 0 5px 5px;
}
.blog-title ul li{
    /* background-color: rgb(129, 230, 188); */
    display: inline-block;
    width: 13.9%;
    height: 45px;
    line-height: 45px;
    text-align: center;
}
.blog-title ul li:first-child{
    width: 10%;
}
/*
.blog-title ul li:nth-child(2){
    width: 195px;
}*/
.blog-title ul li:nth-child(4){
    width: 17%;
    margin-left: 25px;
}
.blog-title ul li:nth-child(5){
    width: 17%;
}

.blog-title ul li:nth-child(6){
    width: 8%;
}

/* ---------内容--------- */
.blog-content{
    width: 100%;
}
.blog-content ul{
    list-style-type: none;
    height: 50px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 0;
}
.blog-content ul:first-child{
    list-style-type: none;
    height: 50px;
    border-top: 1px dashed #ccc;
}
.blog-content ul:hover{
    box-shadow: 1px 1px 3px #cccccc;
    /*padding-top: 1px;*/
    /*margin-bottom: -1px;*/
}
.blog-content ul li {
    display: block;
    float: left;
    width: 13.8%;
    height: 50px;
    line-height: 50px;
    margin-left: 4.8px;
    text-align: center;
}
.blog-content ul li:first-child{
    margin: 0;
    width: 10%;
}
/*
.blog-content ul li:nth-child(2){
    width: 195px;
}
*/
.blog-content ul li:nth-child(4){
    width: 17%;
    margin-left: 30px;
}
.blog-content ul li:nth-child(5){
    width: 17%;
}
.blog-content ul li:nth-child(6){
    width: 8%;
} 
.blog-content ul li:last-child span:first-child{
    margin-right: 5px;
}
.blog-content ul li a{
    text-decoration: none;
    color: rgb(68, 199, 181);
}
.blog-content ul li a:hover{
    color: rgb(4, 148, 122);
    text-decoration: dashed underline ;
}

/* ------blog-bottom------ */
.blog-bottom{
    width: 1200px;
    height: 6%;
    position: fixed;
    bottom: 0px;
    background-color: rgb(110, 218, 198);
    border-radius: 5px 5px 0 0;
}
.blog-page{
    width: 75%;
    height: 50px;
    float: left;
    padding-left: 20px;
    margin-top: 10px;
}
.blog-page span{
    display: inline-block;
    width: 60px;
    height: 35px;
    line-height: 1em;
    text-align: center;
    border-radius: 5px;
}
.blog-page span:nth-child(6){
    width: 160px;
}
.blog-page span:last-child{
    margin-left: 0px;
    width: 210px;
}
.blog-page span a{
    color: #333;
    text-decoration: dashed underline;
}
.blog-page span a:hover{
    color: #fff;
    text-decoration: dashed underline;
}
.blog-page span #pagenumber{
    width: 35px;
    height: 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
}
.blog-page span #pagebutton{
    width: 50px;
    height: 23px;
    border: none;
    background-color: rgba(115, 212, 195, 0.836);
}
.blog-page span #pagebutton:hover{
    color: #fff;
    background-color: rgb(204, 159, 255);
}

/* -----新建分类弹窗----- */
.blog-new{
    float: right;
    padding-right: 40px;
    margin-top: 10px;
}
.blog-new span{
    margin-left: 20px;
}
.blog-new span a{
    color: #333;
    text-decoration: none;
}
.blog-new span a:hover{
    color: #fff;
    text-decoration: #9afff0 dashed underline;
}

/* -----新建分类----- */
.type{
    width: 300px;
    margin: 0 auto;
    margin-top: 45px;
    line-height: 1.5em;
}
.type input{
    width: 180px;
    height: 25px;
    padding-left: 3px;
}



/*---------撰写博客----------*/


.newblog{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/* -------msg------ */
.newblog-msg{
    width: 30.8%;
    height: 99.7%;
    float: left;
    font-size: 17px;
    border: 1px solid #ccc;
    border-radius: 10px 0 0 10px;
    border-right: none;
}
.newblog-title,.newblog-img,.newblog-type,.newblog-submit{
    margin: 40px 0 0 25px;
}
.newblog-title #title{
    width: 72%;
    height: 4.7%;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    padding-left: 5px;
}

/* -------img-pic------ */
.newblog-msg #pic{
    width:230px;
    display: none; /*主要是这个属性*/
    vertical-align: middle;
    text-align: center;
    margin-top: 35px;
}
.newblog-type span{
    display: inline-block; 
}
.newblog-type input{
    width: 15px;
    height: 15px;
    margin-right: 4px;
    vertical-align:middle;
}
.newblog-submit input{
    outline: none;
    border: 1px solid #2ea593;
    width: 50%;
    height: 5%;
    background-color: #71ecd985;
    border-radius: 10px;
    margin-left: 21.5%;
    font-size: 17px;
}
.newblog-submit input:hover{
    background-color: #6ce0cfe8;
    color: #fff;
}

/* ------content----- */
.newblog-content{
    width: 69%;
    height: 100%;
    /* background-color: rgba(255, 181, 181, 0.644); */
    float: left;
}

/* 设置输入区域高度 */
.ck-editor__editable_inline {
    height: 93.9% !important;
    font-size: 16px;
}



/* --------画廊管理-------- */
.gallery{
    width: 1200px;
    height: 100%;
    /* background-color: rgb(255, 196, 196); */
    margin: 0 auto;
    position: static;
}
/* ----目录---- */
.gallery-catalog{
    position: relative;
    float: left;
    width: 20.8%;
    height: 97.7%;
    border-radius: 10px 0 0 10px;
    border: 1px solid #ccc;
    padding-top: 1%;
    overflow: hidden;
    /* background-color: rgb(243, 255, 210); */
}
.one-catalog{
    width: 80%;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    text-align: center;
}
.one-catalog:hover{
    color: #fff;
    border-radius: 15px;
    background-color: rgba(102, 243, 224, 0.479);
}
.upload{
    position: absolute;
    bottom: 30px;
    width: 70%;
    height: 100px;
    margin-left: 15%;
    text-align: center;
}
.upload input{
    width: 80%;
    height: 38px;
    color: #333;
    background-color: #eee;
    border-radius: 18px;
    border: none;
    outline: none;
    margin-top: 12px;
}
.upload input:hover{
    background-color: rgba(255, 155, 40, 0.67);
    color: #fff;
}

/* ----内容---- */
.gallery-imgs{
    float: left;
    width: 78.8%;
    height: 99.5%;
    border-radius: 0 10px 10px 0;
    border: 1px solid #ccc;
    /* background-color: rgb(215, 194, 255); */
}
.one-catalog-gmsg{
    width: 100%;
    height: 55px;
    border-bottom: 1px solid #ccc;
    background-color: rgba(204, 204, 204, 0.151);
}
.one-catalog-gmsg span:first-child{
    padding-left: 15px;
    padding-top: 5px;
    float: left;
    width: 80%;
    /* line-height: 25px; */
}
.one-catalog-gmsg span:first-child p{
    padding: 0 auto;
}
.one-catalog-gmsg span:last-child{
    float: right;
    line-height: 50px;
}
.one-catalog-gmsg span:last-child a{
    text-decoration: underline dashed #999;
    display: inline-block;
    width: 48px;
    color: #333;
}
.one-catalog-gmsg span:last-child a:hover{
    text-decoration: underline dashed #fff;
    display: inline-block;
    width: 48px;
    color: rgb(243, 176, 87);
}

.one-catalog-imgs{
    width: 100%;
    height: 89%;
    overflow:auto;
}
.one-img{
    margin: 15px;
    float: left;
    overflow: hidden;
    position: relative;
    width: 21%;
    height: 21%;
}
.one-img:hover{
    box-shadow: 1px 2px 3px #ccc;
    border-radius: 10px;
}
.one-img img{
    display: block;
    width: 82%;
    margin: 0 auto;
    float: left;
}
.one-img a{
    display: block;
    text-decoration: none;
}
.one-img input{
    display: block;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 10px;
    font-size: 25px;
    color: red;
    background-color: #fff;
}
.one-img input:hover{
    border: 1px solid red;
}

/* ------two-img----- */
.one-catalog-imgs{
    position: relative;
    margin: 0 auto;
    top: 10px;
    margin-left: 15px;
}
.one-catalog-imgs ul{
    list-style-type: none;
}
.one-catalog-imgs ul li{
    position: absolute;
    list-style: none;
	display: inline-block;
	/* float: left; */
	width: 18%;
	top: 0;
	border-radius: 5px;
	background-color: aquamarine;
	box-shadow: 2px 2px 4px #ddd;
}
.one-catalog-imgs ul li:hover{
    box-shadow: 2px 3px 4px 4px #ddd;
}
.one-catalog-imgs ul li img{
    display: block;
    width: 100%;
    border-radius: 5px;
}
.one-catalog-imgs ul li input{
    /*width: 100%;*/
    /*height: 30px;*/
    /*outline: none;*/
    /*border: none;*/
    /*border-radius: 0 0 5px 5px;*/
    /*text-align: center;*/
    /*font-size: 24px;*/
    /*color: #999;*/
    right: 2px;
    top: 2px;
    position: absolute;
    width: 25px;
    height: 25px;
    outline: none;
    border: none;
    border-radius: 12.5px;
    text-align: center;
    font-size: 24px;
    color: rgba(244,0,0,0.72);
    background-color: rgba(255,255,255,0.72);
}
.one-catalog-imgs ul li input:hover{
    color: #fff;
    background-color: rgb(255, 81, 81);
}